package com.jhhc.EngineeringSafety.Calculate.Forecast.entity.param;

public class RunParam
{
    private int projectId;
    private String calSchemeId;
    private int forecastObjectId;
    private int monitorTypeId;
    private String userId;
    private String forecastBeginTime;
    private String forecastTime;
    private int calTimeSpan;
    private boolean hasResult;

    public void setProjectId(int projectId)
    {
        this.projectId = projectId;
    }

    public void setCalSchemeId(String calSchemeId)
    {
        this.calSchemeId = calSchemeId;
    }

    public void setForecastObjectId(int forecastObjectId)
    {
        this.forecastObjectId = forecastObjectId;
    }

    public void setMonitorTypeId(int monitorTypeId)
    {
        this.monitorTypeId = monitorTypeId;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public void setForecastBeginTime(String forecastBeginTime)
    {
        this.forecastBeginTime = forecastBeginTime;
    }

    public void setForecastTime(String forecastTime)
    {
        this.forecastTime = forecastTime;
    }

    public void setCalTimeSpan(int calTimeSpan)
    {
        this.calTimeSpan = calTimeSpan;
    }

    public void setHasResult(boolean hasResult)
    {
        this.hasResult = hasResult;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof RunParam)) {
            return false;
        }
        RunParam other = (RunParam)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (getProjectId() != other.getProjectId()) {
            return false;
        }
        if (getForecastObjectId() != other.getForecastObjectId()) {
            return false;
        }
        if (getMonitorTypeId() != other.getMonitorTypeId()) {
            return false;
        }
        if (getCalTimeSpan() != other.getCalTimeSpan()) {
            return false;
        }
        if (isHasResult() != other.isHasResult()) {
            return false;
        }
        Object this$calSchemeId = getCalSchemeId();Object other$calSchemeId = other.getCalSchemeId();
        if (this$calSchemeId == null ? other$calSchemeId != null : !this$calSchemeId.equals(other$calSchemeId)) {
            return false;
        }
        Object this$userId = getUserId();Object other$userId = other.getUserId();
        if (this$userId == null ? other$userId != null : !this$userId.equals(other$userId)) {
            return false;
        }
        Object this$forecastBeginTime = getForecastBeginTime();Object other$forecastBeginTime = other.getForecastBeginTime();
        if (this$forecastBeginTime == null ? other$forecastBeginTime != null : !this$forecastBeginTime.equals(other$forecastBeginTime)) {
            return false;
        }
        Object this$forecastTime = getForecastTime();Object other$forecastTime = other.getForecastTime();return this$forecastTime == null ? other$forecastTime == null : this$forecastTime.equals(other$forecastTime);
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof RunParam;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;result = result * 59 + getProjectId();result = result * 59 + getForecastObjectId();result = result * 59 + getMonitorTypeId();result = result * 59 + getCalTimeSpan();result = result * 59 + (isHasResult() ? 79 : 97);Object $calSchemeId = getCalSchemeId();result = result * 59 + ($calSchemeId == null ? 43 : $calSchemeId.hashCode());Object $userId = getUserId();result = result * 59 + ($userId == null ? 43 : $userId.hashCode());Object $forecastBeginTime = getForecastBeginTime();result = result * 59 + ($forecastBeginTime == null ? 43 : $forecastBeginTime.hashCode());Object $forecastTime = getForecastTime();result = result * 59 + ($forecastTime == null ? 43 : $forecastTime.hashCode());return result;
    }

    public String toString()
    {
        return "RunParam(projectId=" + getProjectId() + ", calSchemeId=" + getCalSchemeId() + ", forecastObjectId=" + getForecastObjectId() + ", monitorTypeId=" + getMonitorTypeId() + ", userId=" + getUserId() + ", forecastBeginTime=" + getForecastBeginTime() + ", forecastTime=" + getForecastTime() + ", calTimeSpan=" + getCalTimeSpan() + ", hasResult=" + isHasResult() + ")";
    }

    public int getProjectId()
    {
        return this.projectId;
    }

    public String getCalSchemeId()
    {
        return this.calSchemeId;
    }

    public int getForecastObjectId()
    {
        return this.forecastObjectId;
    }

    public int getMonitorTypeId()
    {
        return this.monitorTypeId;
    }

    public String getUserId()
    {
        return this.userId;
    }

    public String getForecastBeginTime()
    {
        return this.forecastBeginTime;
    }

    public String getForecastTime()
    {
        return this.forecastTime;
    }

    public int getCalTimeSpan()
    {
        return this.calTimeSpan;
    }

    public boolean isHasResult()
    {
        return this.hasResult;
    }
}
